package com.usian.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmUserDto;
import com.usian.model.media.pojos.WmUser;

public interface WmUserServcie extends IService<WmUser> {

    ResponseResult inster(WmUser wmUser);

    WmUser findByName(String name);
    /*
    * 登录
    * @Param wmUser
    * @return
    * */
    public ResponseResult login(WmUserDto dto);
}
